package com.scau.wuwei.library_system.core.service;

import com.scau.wuwei.library_system.core.bean.BookInfo;
import com.scau.wuwei.library_system.core.bean.BookInfoQuery;
import org.springframework.data.domain.Page;

public interface BookInfoService {
    //不需要查询条件查询
    Page<BookInfo> findBookNoCriteria(Integer page,Integer size);
    //需要查询条件查询
    Page<BookInfo> findBookCriteria(Integer page,Integer size, BookInfoQuery bookInfoQuery);
}
